
export class Tools{
    private static Instance : Tools = null;

    static GetInstance(){
        if(Tools.Instance == null){
            Tools.Instance = new Tools;
        }
        return Tools.Instance;
    }

    public getRandomInt(min : number, max) : number {  
        min = Math.ceil(min);  
        max = Math.floor(max);  
        return Math.floor(Math.random() * (max - min + 1)) + min;  
    }  
}